<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>03-基本数据类型.html</title>
</head>
<body>
  <SCRIPT>
    // numle类型
    var a = 3;
    console.log(typeof a);
    var b = 3.14;
    console.log(typeof b);

    // string 类型
    var c = "string"
    console.log(typeof c);

    // object 类型
    var d = null;
    console.log(typeof d)

    // bollean
    var e = true
    console.log(typeof e)
    var f = false
    console.log(typeof f)

    // Infinity -Infinity ：正负无穷大
    var g = 10/0;
    console.log(g)
    var h = -10/0;
    console.log(h)

    // NaN 将不是Number的值用Number类型表示 用nan表示
    var i = 10 / "asd"
    console.log(i);
    console.log(typeof i)
  </SCRIPT>
</body>
</html>